package com.ria09.zebra
{
	/**
	 * Class Person
	 */
	public class Person
	{
		private var _id:Number;
		private var _firstName:String;
		private var _lastName:String;
		private var _dob:String;
		private var _role:Role;
		
		
		/**
	 	 * Person
	 	 * @author Charlotte Wasston
	 	 * @author Joakim Jarsäter
	 	 * 
	 	 * @return Person
	 	 */
		public function Person(id:int, firstname:String, lastname:String, dob:String)
		{

			this._id = id;
			this._firstName = firstname;
			this._lastName = lastname;
			this._dob = dob;
		}

		/**
		 * get _id
		 * @author Charlotte Wasston
		 * 
		 * @return Number
		 */
		public function get id():Number {
			return this._id;
		}

		/**
		 * get _firstName
		 * @author Charlotte Wasston
		 * 
		 * @return String
		 */
		public function get firstName():String {
			return this._firstName;
		}

		/**
		 * get _lastName
		 * @author Charlotte Wasston
		 * 
		 * @return String
		 */
		public function get lastName():String {
			return this._lastName;
		}

		/**
		 * get dob
		 * @author Charlotte Wasston
		 * 
		 * @return String
		 */
		public function get dob():String {
			return this._dob;
		}

		/**
		 * get _role
		 * @author Charlotte Wasston
		 * 
		 * @return Role
		 */
		public function get role():Role {
			return this._role;
		}

	}
}